package com.aoxon.cargo.service;

import java.util.HashMap;

import com.aoxon.cargo.bean.GsonBean;
import com.aoxon.cargo.cache.keyCache;

/**
 * 删除物品信息的服务
 * 
 * @author ZZJ
 * 
 */
public class DeleteGoodsService extends MyService {

	/**
	 * 删除物品信息的操作
	 * @param id
	 * @return
	 */
	public GsonBean execute(int id) {

		url = "deleteClothInfor" + suffix;

		params = new HashMap<String, String>();
		params.put("supId", String.valueOf(keyCache.supId));
		params.put("clothId", String.valueOf(id));
		params.put("key", keyCache.key);

		return doPost();

	}

}
